package com.faithbj.common.model.fm.property;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.faithbj.common.model.fm.FamilyMemberEntity;

/**
 * 家庭成员财产-股票
 * 
 * @author XiaoQuan
 * 
 */
@Entity
@Table(name = "fm_property_stocks")
public class Stocks extends FamilyMemberEntity {

	private static final long serialVersionUID = 2793053797205733573L;
	// 货币财产-资金帐号
	@Column(name = "stock_account", length = 30)
	private String stockAccount;
	// 货币财产-指定交易或结算券商
	@Column(name = "brokerage", length = 18)
	private String brokerage;
	// 货币财产-股票总市值
	@Column(name = "stock_amount", scale = 2, precision = 12)
	private BigDecimal stockAmount;
	// 货币财产-资金帐号余额
	@Column(name = "stock_balance", scale = 2, precision = 12)
	private BigDecimal stockBalance;

	public String getStockAccount() {
		return stockAccount;
	}

	public void setStockAccount(String stockAccount) {
		this.stockAccount = stockAccount;
	}

	public String getBrokerage() {
		return brokerage;
	}

	public void setBrokerage(String brokerage) {
		this.brokerage = brokerage;
	}

	public BigDecimal getStockAmount() {
		return stockAmount;
	}

	public void setStockAmount(BigDecimal stockAmount) {
		this.stockAmount = stockAmount;
	}

	public BigDecimal getStockBalance() {
		return stockBalance;
	}

	public void setStockBalance(BigDecimal stockBalance) {
		this.stockBalance = stockBalance;
	}

}
